<template>
  <div class="join">
    <h1 class="top">加入我们</h1>
    <div class="info">
      <div class="card">
        <header>热招职位</header>
        <div class="content">
          <div class="item">
            <span class="left">户外运营负责人</span>
            <span>杭州市</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>
        </div>
      </div>

      <div class="card">
        <header>招聘动态</header>
        <div class="content">
          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>

          <div class="item">
            <span class="left">xxxxxxxxxxxxx</span>
            <span>xxxxxxxxxxxxx</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.join {
  .top {
    display: flex;
    height: 500px;
    font-size: 100px;
    align-items: center;
    background-size: cover;
    justify-content: center;
    color: var(--white-color);
    background-image: url('https://fe-static.xhscdn.com/formula-static/recruit/public/img/banner.7e193a4.jpg');
  }

  .info {
    display: flex;
    padding: 10px;
    justify-content: space-around;
    background-color: rgb(238, 241, 248);

    .card {
      border-radius: 5px;
      width: 500px;
      padding: 20px 30px;
      height: max-content;
      background-color: var(--white-color);

      header {
        display: flex;
        font-size: 20px;
        align-items: center;

        &::before {
          content: '';
          width: 5px;
          height: 20px;
          margin-right: 20px;
          border-radius: 5px;
          display: inline-block;
          background-color: red;
        }
      }

      .content {
        .item {
          display: flex;
          justify-content: space-between;
          font-size: 18px;

          .left {
            margin-right: 30px;
          }
        }

        .item:not(:last-child) {
          margin-bottom: 20px;
        }
      }
    }
  }
}
</style>
